<div class="pad-10">

	<div class="navigate">
		<h1>文章分类编辑</h1>
		<a class="button fr" href="/index.php/Admin/ArticleCate/">文章分类列表</a>
  	</div>
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">文章分类编辑</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th>分类编号:</th>
		<td>{$cate.id}</td>
	</tr>

	<tr>
		<th width="100">分类名称:</th>
		<td><input type="text" name="name" id="name" class="input-text"
			value="{$cate.name}"></td>
	</tr>
	<tr>
		<th>上级分类：</th>
		<td>		
			<select name="parent" id="parent" style="width:150px;">
				<option value="0" selected="selected">--顶级分类--</option>
				<volist name="root_cates" id="c">
					<option value="{$c.id}"<if condition="$cate['parent'] eq $c['id']"> selected="selected"</if>>{$c.name}</option>
				</volist>
			</select>
		</td>
	</tr>
	<tr>
		<th width="100">排序 :</th>
		<td><input type="text" name="ord" id="ord" class="input-text"
			value="{$cate.ord}" size="4"
			onkeyup="this.value=this.value.replace(/\D/g,'')"
			onafterpaste="this.value=this.value.replace(/\D/g,'')"></td>
	</tr>
	<tr>
		<th width="100">状态:</th>
		<td><input type="radio" id="disabled_0" name="disabled" value="0"<eq
			name="cate.disabled" value="0"> checked="checked"</eq> /> <label
			for="disabled_0">启用</label> <input type="radio" id="disabled_1"
			name="disabled" value="1"<eq name="cate.disabled" value="1">
		checked="checked"</eq> /> <label for="disabled_1">禁用</label></td>
	</tr>

</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="button" class="button" value="保存修改" id="btnSave" />
</div>
</div>
</div>


<input type="hidden" id="hd_id" value="{$cate.id}" />
<script type="text/javascript" src="/Js/adm/article_cate/detail.js"></script>